<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <script type="text/javascript" src="../../scripts/jquery/jquery-1.7.1.js"></script>
    <link href="../../style/authority/basic_layout.css" rel="stylesheet" type="text/css">
    <link href="../../style/authority/common_style.css" rel="stylesheet" type="text/css">
    <script src="https://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js"></script>
    <link href="../../css/bootstrap.css" rel="stylesheet" type="text/css">
    <script type="text/javascript" src="../../scripts/bootstrap/bootstrap.js"></script>
    <script type="text/javascript" src="../../scripts/bootstrap/bootstrap-table.js"></script>
    <script type="text/javascript" src="../../scripts/bootstrap/bootstrap-table-zh-CN.js"></script>
    <link rel="stylesheet" type="text/css" href="../../style/authority/jquery.fancybox-1.3.4.css" media="screen"/>
    <link rel="stylesheet" href="../../css/addUserStyle.css" media="screen" type="text/css"/>
    <script type="text/javascript" src="../../scripts/artDialog/artDialog.js?skin=default"></script>
    <title>个人信息管理系统</title>
    <script type="text/javascript" src="../../scripts/lenovocloud/user/allinformation.js"></script>
    <style>
        .div-a {
            float: left;
            width: 49%;
            height: 100%;
        }

        .div-b {
            float: right;
            width: 49%;
            height: 100%;
        }


        .box1{
            max-width:400px;
            width:100%;
            margin: auto;
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translate(-50%,-50%);
            height: 400px;
            padding: 10px;
            min-height: 200px;
            display: inline-block;
            background-color:white ;
            border: 1px solid #ccc;
            -webkit-box-shadow: 0px 3px 30px rgba(0, 0, 0, 0.1) inset;
            -webkit-border-bottom-right-radius: 6px 50px;
        }

        .box1:before{
            content: '';
            width: 50px;
            height: 100px;
            position:absolute;
            bottom:0; right:0;
            -webkit-box-shadow: 20px 20px 10px rgba(0, 0, 0, 0.1);
            z-index:-1;
            -webkit-transform: translate(-35px,-40px)
            skew(0deg,30deg)
            rotate(-25deg);
        }

        .box1:after{
            content: '';
            width: 100px;
            height: 100px;
            top:0; left:0;
            position:absolute;
            display: inline-block;
            z-index:-1;
            -webkit-box-shadow: -10px -10px 10px rgba(0, 0, 0, 0.2);
            -webkit-transform: rotate(2deg)
            translate(20px,25px)
            skew(20deg);
        }

        h1{
            font-size: 20px;
            font-weight: bold;
            margin-top: 5px;
            text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
        }

        a{
            text-decoration: none;
            color: #4A4A4A !important;
        }

        a:hover{
            text-decoration: underline;
            color: #6B6B6B !important ;
        }

    </style>
</head>
<body onload="getDate01()">
<div id="container">
    <div class="ui_content">
        <div class="ui_text_indent">
            <div id="box_border">
                <div id="box_top">全部信息</div>

                <div id="box_bottom">

                    <table id="user_table" class="table" cellspacing="0" cellpadding="0" width="100%" align="center"
                           border="0"></table>
                    <button class="btn" style="float:right;" onclick="showRegisterDiv()">新增用户</button>
                    <script>
                        AllInformation();
                    </script>
                </div>
            </div>

        </div>
    </div>
    <div class="ui_tb">
    </div>
    <div class="ui_content">
        <div class="ui_tb_h30">
            <div class="ui_flt" style="height: 30px; line-height: 30px;">

            </div>
            <div class="ui_frt">

            </div>
        </div>
    </div>
</div>

<div class="container" id="add_user" style="display: none">
    <form id="contact" method="post" onsubmit="return Add_User()">
        <input type="button" class="close" onclick="Iclose()" value="×"/>
        <h3>添加新用户</h3>
        <h4>Add A New User</h4>
        <fieldset>
            <input placeholder="用户名" id="user_name" type="text" tabindex="1" required autofocus>
        </fieldset>
        <fieldset>
            <input placeholder="邮  箱" id="user_email" type="email" tabindex="2" required>
        </fieldset>
        <fieldset>
            <input placeholder="密  码" id="user_password" type="password" tabindex="3" required>
        </fieldset>
        <fieldset>
            <input placeholder="确认密码" id="user_confirm" type="password" onchange="checkpas()" tabindex="4" required>
        </fieldset>
        <span class="tip" style="color: red;display: none">两次输入的密码不一致</span><br>
        <fieldset>
            <button name="submit" type="submit" id="contact-submit">提交</button>
        </fieldset>
    </form>
</div>

<div class="box1" id="Authority" style="display: none">
    <input type="button" class="close" onclick="Iclose2()" value="×"/>
    <h1>用户权限管理</h1>
    <h6>User Authorities Management</h6>
    <div>
        <div class="div-a" style="text-align: center">
            邮件功能<br/>
            <label><input name="radio_email" type="radio" value="256"/>开启</label>
            <label><input name="radio_email" type="radio" value="-256"/>关闭</label>
            <br/>查看Jenkins<br/>
            <label><input name="radio_jenkins_list" type="radio" value="16"/>开启</label>
            <label><input name="radio_jenkins_list" type="radio" value="-16"/>关闭</label>
            <br/>构建/终止<br/>
            <label><input name="radio_build_stop" type="radio" value="32"/>开启</label>
            <label><input name="radio_build_stop" type="radio" value="-32"/>关闭</label>
            <br/>查看反馈<br/>
            <label><input name="radio_feedback" type="radio" value="64"/>开启</label>
            <label><input name="radio_feedback" type="radio" value="-64"/>关闭</label>
        </div>
        <div class="div-b" style="text-align: center">
            消息中心<br/>
            <label><input name="radio_message" type="radio" value="512"/>开启</label>
            <label><input name="radio_message" type="radio" value="-512"/>关闭</label>
            <br/>查看测试报告<br/>
            <label><input name="radio_report_all" type="radio" value="1024"/>开启</label>
            <label><input name="radio_report_all" type="radio" value="-1024"/>关闭</label>
           <!-- <br/>其它2<br/>
            <label><input name="others2" type="radio" value="16"/>开启</label>
            <label><input name="others2" type="radio" value="-16"/>关闭</label>
            <br/>其它3<br/>
            <label><input name="others3" type="radio" value="32"/>开启</label>
            <label><input name="others3" type="radio" value="-32"/>关闭</label>
            <br/>其它4<br/>
            <label><input name="others4" type="radio" value="64"/>开启</label>
            <label><input name="others4" type="radio" value="-64"/>关闭</label>-->
        </div>

        <div style="width: 100%;float: left;text-align: center">
            <br>
        <button name="submit" class="btn" onclick="ChangeAuthority()">提交</button>
        <button name="submit" class="btn" onclick="Iclose2()">取消</button>
        <br>
        </div>
    </div>
</div>

</body>
</html>
